<?php htmlTemplate('admin_header_frame.php');?>
<div class="title">用户信息-男女比例

</div>


<table width="100%" cellspacing="1" cellpadding="3" id="listTable">
  <tbody>  
  <tr>
  	<th>男生数</th>  
  	<th>女生数</th> 
    <th>男生比例</th>
    <th>女生比例</th>
   
       
  </tr>

	<?php 
	
	
	if ($rs){
	foreach ($rs as $k=>$v):
	


	?>
   <tr>
   
    <td align="center">
	<?php echo $v['summ'];?> 
	</td>
	<td align="center">
	<?php echo $v['sumfm'];?> 
	</td>
	<td align="center">	
	<?php echo (@round($v['summ']/($v['summ']+$v['sumfm']),4)*100).'%';?> 
	</td>
	<td align="center">
	<?php echo (@round($v['sumfm']/($v['summ']+$v['sumfm']),4)*100).'%';?> 
	</td>
	
	   
  </tr>
  <?php endforeach;}?>

 
 
  </tbody>
</table>
<?php htmlTemplate('admin_footer_frame.php');?>